package vista;

import javax.swing.DebugGraphics;
import javax.swing.GroupLayout;
import javax.swing.JButton;
import javax.swing.JComponent;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.LayoutStyle;

import javax.swing.WindowConstants;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;
import javax.swing.SwingUtilities;
import java.awt.event.ActionListener;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class VistaOrdenes extends javax.swing.JFrame {
	private JPanel jPanelOrden;
	private JLabel jLblCodOrden;
	private JLabel jLblFecha;
	private JLabel jLblCodCli;
	private JButton jBtnBuscarOrden;
	private JButton jBtnLimpiar;
	private JButton jBtnEliminar;
	private JButton jBtnProcesar;
	private JTextField jTxtNombProd;
	private JButton jBtnBuscarProd;
	private JLabel jLblNombProd;
	private JButton jBtnAgregar;
	private JButton jBtnRemover;
	private JScrollPane jScrollPaneProdOrden;
	private JTable jTableProductosOrden;
	private JTextField jTxtCant;
	private JLabel jLblCant;
	private JTextField jTxtCodProd;
	private JLabel jLblCodProd;
	private JLabel jLblProdOrd;
	private JTextField jTxtApeCliente;
	private JLabel jLblApeCliente;
	private JTextField jTxtNombCliente;
	private JLabel jLblNombCliente;
	private JButton jBtnBuscarCli;
	private JTextField jTxtCodClie;
	private JLabel jLblDatosCli;
	private JTextField jTxtFechaOrden;
	private JTextField jTxtCodOrden;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				VistaOrdenes inst = new VistaOrdenes();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public VistaOrdenes() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			GroupLayout thisLayout = new GroupLayout((JComponent)getContentPane());
			getContentPane().setLayout(thisLayout);
			this.setTitle("-SGECR- [Modulo de Servicios] - Ordenes de Servicio");
			getContentPane().setBackground(new java.awt.Color(93,193,225));
			{
				jPanelOrden = new JPanel();
				GroupLayout jPanelOrdenLayout = new GroupLayout((JComponent)jPanelOrden);
				jPanelOrden.setLayout(jPanelOrdenLayout);
				jPanelOrden.setBackground(new java.awt.Color(173,216,230));
				{
					jLblCodOrden = new JLabel();
					jLblCodOrden.setText("Cod. Orden: ");
				}
				{
					jTxtCodOrden = new JTextField();
				}
				{
					jBtnBuscarProd = new JButton();
					jBtnBuscarProd.setText("BP");
				}
				{
					jTxtNombProd = new JTextField();
				}
				{
					jBtnProcesar = new JButton();
					jBtnProcesar.setText("Procesar");
				}
				{
					jBtnEliminar = new JButton();
					jBtnEliminar.setText("Eliminar");
				}
				{
					jBtnLimpiar = new JButton();
					jBtnLimpiar.setText("Limpiar");
				}
				{
					jLblFecha = new JLabel();
					jLblFecha.setText("Fecha: ");
				}
				{
					jTxtFechaOrden = new JTextField();
					jTxtFechaOrden.setDebugGraphicsOptions(DebugGraphics.BUFFERED_OPTION);
				}
				{
					jLblDatosCli = new JLabel();
					jLblDatosCli.setText("==Datos del Cliente==");
					jLblDatosCli.setFont(new java.awt.Font("Bitstream Charter",0,14));
				}
				{
					jLblCodCli = new JLabel();
					jLblCodCli.setText("Cod. Cliente:");
				}
				{
					jLblCant = new JLabel();
					jLblCant.setText("Cantidad:");
				}
				{
					jTxtCant = new JTextField();
				}
				{
					jBtnBuscarCli = new JButton();
					jBtnBuscarCli.setText("BC");
				}
				{
					jLblNombCliente = new JLabel();
					jLblNombCliente.setText("Nombre: ");
				}
				{
					jTxtNombCliente = new JTextField();
				}
				{
					jLblApeCliente = new JLabel();
					jLblApeCliente.setText("Apellido:");
				}
				{
					jTxtApeCliente = new JTextField();
				}
				{
					jLblNombProd = new JLabel();
					jLblNombProd.setText("Nombre:");
				}
				{
					jTxtCodClie = new JTextField();
				}
				{
					jBtnBuscarOrden = new JButton();
					jBtnBuscarOrden.setText("BO");
				}
				{
					jBtnRemover = new JButton();
					jBtnRemover.setText("Remover");
				}
				{
					jBtnAgregar = new JButton();
					jBtnAgregar.setText("Agregar");
				}
				{
					jScrollPaneProdOrden = new JScrollPane();
					{
						TableModel jTableProductosOrdenModel = 
							new DefaultTableModel(
									new String[][] { { "", "", "", "" }, { "", "", "","" }, {"", "", "", ""}, {"", "", "", ""}, {"", "", "", ""}, {"", "", "", ""}},
									new String[] { "Nombre", "Cantidad", "Precio", "SubTotal" });
						jTableProductosOrden = new JTable();
						jScrollPaneProdOrden.setViewportView(jTableProductosOrden);
						jTableProductosOrden.setModel(jTableProductosOrdenModel);
					}
				}
				{
					jLblProdOrd = new JLabel();
					jLblProdOrd.setText("==Productos de la Orden==");
					jLblProdOrd.setFont(new java.awt.Font("Bitstream Charter",0,14));
				}
				{
					jLblCodProd = new JLabel();
					jLblCodProd.setText("Cod. Producto:");
				}
				{
					jTxtCodProd = new JTextField();
				}
					jPanelOrdenLayout.setVerticalGroup(jPanelOrdenLayout.createSequentialGroup()
						.addContainerGap(37, 37)
						.addGroup(jPanelOrdenLayout.createParallelGroup()
						    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
						        .addComponent(jTxtFechaOrden, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						        .addComponent(jTxtCodOrden, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						        .addComponent(jLblCodOrden, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						        .addComponent(jLblFecha, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
						    .addComponent(jBtnBuscarOrden, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 21, GroupLayout.PREFERRED_SIZE))
						.addGap(29)
						.addComponent(jLblDatosCli, GroupLayout.PREFERRED_SIZE, 14, GroupLayout.PREFERRED_SIZE)
						.addGap(25)
						.addGroup(jPanelOrdenLayout.createParallelGroup()
						    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
						        .addComponent(jTxtCodClie, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						        .addComponent(jLblCodCli, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
						    .addComponent(jBtnBuscarCli, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 21, GroupLayout.PREFERRED_SIZE))
						.addGap(18)
						.addGroup(jPanelOrdenLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
						    .addComponent(jTxtNombCliente, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						    .addComponent(jLblApeCliente, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						    .addComponent(jLblNombCliente, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						    .addComponent(jTxtApeCliente, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
						.addGap(21)
						.addComponent(jLblProdOrd, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						.addGap(19)
						.addGroup(jPanelOrdenLayout.createParallelGroup()
						    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
						        .addComponent(jTxtCodProd, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						        .addComponent(jLblNombProd, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						        .addComponent(jTxtNombProd, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						        .addComponent(jLblCodProd, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						        .addComponent(jTxtCant, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
						        .addComponent(jLblCant, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE))
						    .addComponent(jBtnBuscarProd, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 21, GroupLayout.PREFERRED_SIZE))
						.addGap(35)
						.addGroup(jPanelOrdenLayout.createParallelGroup()
						    .addComponent(jScrollPaneProdOrden, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 100, GroupLayout.PREFERRED_SIZE)
						    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
						        .addGap(7)
						        .addComponent(jBtnAgregar, GroupLayout.PREFERRED_SIZE, 34, GroupLayout.PREFERRED_SIZE)
						        .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED)
						        .addComponent(jBtnRemover, GroupLayout.PREFERRED_SIZE, 34, GroupLayout.PREFERRED_SIZE)
						        .addGap(14)))
						.addGap(0, 55, Short.MAX_VALUE)
						.addGroup(jPanelOrdenLayout.createParallelGroup(GroupLayout.Alignment.BASELINE)
						    .addComponent(jBtnLimpiar, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, 30, GroupLayout.PREFERRED_SIZE)
						    .addComponent(jBtnProcesar, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, 29, GroupLayout.PREFERRED_SIZE)
						    .addComponent(jBtnEliminar, GroupLayout.Alignment.BASELINE, GroupLayout.PREFERRED_SIZE, 30, GroupLayout.PREFERRED_SIZE))
						.addContainerGap(64, 64));
					jPanelOrdenLayout.setHorizontalGroup(jPanelOrdenLayout.createSequentialGroup()
					.addContainerGap(42, 42)
					.addGroup(jPanelOrdenLayout.createParallelGroup()
					    .addGroup(jPanelOrdenLayout.createSequentialGroup()
					        .addGroup(jPanelOrdenLayout.createParallelGroup()
					            .addComponent(jLblCodCli, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 85, GroupLayout.PREFERRED_SIZE)
					            .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                .addComponent(jLblNombCliente, GroupLayout.PREFERRED_SIZE, 78, GroupLayout.PREFERRED_SIZE)
					                .addGap(7))
					            .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                .addComponent(jLblCodOrden, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE, GroupLayout.PREFERRED_SIZE)
					                .addGap(7)))
					        .addGroup(jPanelOrdenLayout.createParallelGroup()
					            .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                .addComponent(jTxtCodOrden, GroupLayout.PREFERRED_SIZE, 90, GroupLayout.PREFERRED_SIZE)
					                .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					                .addGroup(jPanelOrdenLayout.createParallelGroup()
					                    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                        .addComponent(jLblProdOrd, GroupLayout.PREFERRED_SIZE, 229, GroupLayout.PREFERRED_SIZE)
					                        .addGap(65))
					                    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                        .addComponent(jBtnBuscarOrden, GroupLayout.PREFERRED_SIZE, 30, GroupLayout.PREFERRED_SIZE)
					                        .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					                        .addComponent(jBtnBuscarProd, GroupLayout.PREFERRED_SIZE, 31, GroupLayout.PREFERRED_SIZE)
					                        .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					                        .addGroup(jPanelOrdenLayout.createParallelGroup()
					                            .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                                .addComponent(jLblNombProd, GroupLayout.PREFERRED_SIZE, 61, GroupLayout.PREFERRED_SIZE)
					                                .addComponent(jTxtApeCliente, GroupLayout.PREFERRED_SIZE, 124, GroupLayout.PREFERRED_SIZE)
					                                .addGap(38))
					                            .addGroup(jPanelOrdenLayout.createSequentialGroup()
					                                .addGroup(jPanelOrdenLayout.createParallelGroup()
					                                    .addComponent(jBtnLimpiar, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 114, GroupLayout.PREFERRED_SIZE)
					                                    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                                        .addGap(47)
					                                        .addComponent(jLblFecha, GroupLayout.PREFERRED_SIZE, 59, GroupLayout.PREFERRED_SIZE)
					                                        .addGap(8)))
					                                .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					                                .addComponent(jTxtFechaOrden, GroupLayout.PREFERRED_SIZE, 89, GroupLayout.PREFERRED_SIZE)
					                                .addGap(15)))))
					                .addGap(36))
					            .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                .addGroup(jPanelOrdenLayout.createParallelGroup()
					                    .addComponent(jTxtNombCliente, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 115, GroupLayout.PREFERRED_SIZE)
					                    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                        .addComponent(jTxtCodClie, GroupLayout.PREFERRED_SIZE, 108, GroupLayout.PREFERRED_SIZE)
					                        .addGap(7)))
					                .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					                .addGroup(jPanelOrdenLayout.createParallelGroup()
					                    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                        .addComponent(jLblDatosCli, GroupLayout.PREFERRED_SIZE, 195, GroupLayout.PREFERRED_SIZE)
					                        .addGap(38))
					                    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                        .addComponent(jBtnBuscarCli, GroupLayout.PREFERRED_SIZE, 28, GroupLayout.PREFERRED_SIZE)
					                        .addComponent(jLblApeCliente, GroupLayout.PREFERRED_SIZE, 76, GroupLayout.PREFERRED_SIZE)
					                        .addGap(20)
					                        .addComponent(jTxtNombProd, GroupLayout.PREFERRED_SIZE, 109, GroupLayout.PREFERRED_SIZE)))
					                .addComponent(jLblCant, GroupLayout.PREFERRED_SIZE, 78, GroupLayout.PREFERRED_SIZE)))
					        .addGap(11))
					    .addGroup(jPanelOrdenLayout.createSequentialGroup()
					        .addGap(18)
					        .addGroup(jPanelOrdenLayout.createParallelGroup()
					            .addComponent(jScrollPaneProdOrden, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 504, GroupLayout.PREFERRED_SIZE)
					            .addGroup(jPanelOrdenLayout.createSequentialGroup()
					                .addGroup(jPanelOrdenLayout.createParallelGroup()
					                    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                        .addPreferredGap(jLblCodProd, jBtnProcesar, LayoutStyle.ComponentPlacement.INDENT)
					                        .addComponent(jBtnProcesar, GroupLayout.PREFERRED_SIZE, 98, GroupLayout.PREFERRED_SIZE))
					                    .addComponent(jLblCodProd, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 108, GroupLayout.PREFERRED_SIZE))
					                .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					                .addGroup(jPanelOrdenLayout.createParallelGroup()
					                    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					                        .addComponent(jTxtCodProd, GroupLayout.PREFERRED_SIZE, 72, GroupLayout.PREFERRED_SIZE)
					                        .addGap(37))
					                    .addComponent(jBtnEliminar, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 109, GroupLayout.PREFERRED_SIZE))
					                .addGap(275)))))
					.addPreferredGap(LayoutStyle.ComponentPlacement.RELATED)
					.addGroup(jPanelOrdenLayout.createParallelGroup()
					    .addGroup(GroupLayout.Alignment.LEADING, jPanelOrdenLayout.createSequentialGroup()
					        .addComponent(jTxtCant, GroupLayout.PREFERRED_SIZE, 72, GroupLayout.PREFERRED_SIZE)
					        .addGap(0, 40, Short.MAX_VALUE))
					    .addGroup(jPanelOrdenLayout.createSequentialGroup()
					        .addGap(0, 29, Short.MAX_VALUE)
					        .addGroup(jPanelOrdenLayout.createParallelGroup()
					            .addComponent(jBtnRemover, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 83, GroupLayout.PREFERRED_SIZE)
					            .addComponent(jBtnAgregar, GroupLayout.Alignment.LEADING, GroupLayout.PREFERRED_SIZE, 83, GroupLayout.PREFERRED_SIZE))))
					.addContainerGap(50, 50));
			}
			thisLayout.setVerticalGroup(thisLayout.createSequentialGroup()
				.addContainerGap(32, 32)
				.addComponent(jPanelOrden, GroupLayout.PREFERRED_SIZE, 549, GroupLayout.PREFERRED_SIZE)
				.addContainerGap(53, Short.MAX_VALUE));
			thisLayout.setHorizontalGroup(thisLayout.createSequentialGroup()
				.addContainerGap(38, 38)
				.addComponent(jPanelOrden, GroupLayout.PREFERRED_SIZE, 727, GroupLayout.PREFERRED_SIZE)
				.addContainerGap(38, Short.MAX_VALUE));
			pack();
			this.setSize(813, 664);
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}
	
	

	public void addListener(ActionListener actionlistener)
	{
		jBtnBuscarOrden.addActionListener(actionlistener);
		jBtnBuscarCli.addActionListener(actionlistener);
		jBtnAgregar.addActionListener(actionlistener);
		jBtnRemover.addActionListener(actionlistener);
		jBtnProcesar.addActionListener(actionlistener);
		jBtnEliminar.addActionListener(actionlistener);
		jBtnLimpiar.addActionListener(actionlistener);
		//jBtnSalir.addActionListener(actionlistener);
	}
	
	public void MostrarMensaje(String mensaje)
	{
		JOptionPane.showMessageDialog(this, mensaje);
	}
	
	public String getCodOrden()
	{
	 return jTxtCodOrden.getText();
	 
	}
	public String getFechaOrden()
	{
	 return jTxtFechaOrden.getText();
	 
	}
	public String getCodCliente()
	{
	 return jTxtCodClie.getText();
	 
	}
	public String getNombCliente()
	{
	 return jTxtNombCliente.getText();
	 
	}
	public String getApeCliente()
	{
	 return jTxtApeCliente.getText();
	 
	}
	public String getCodProd()
	{
	 return jTxtCodProd.getText();
	}
	
	public String getNombProd()
	{
	 return jTxtNombProd.getText();
	}
	public String getCant()
	{
	 return jTxtCant.getText();
	}
	
	
	
	public void Blanquear()
	{
		jTxtCodOrden.setText("");
		jTxtFechaOrden.setText("");
		jTxtCodClie.setText("");
		jTxtNombCliente.setText("");
		jTxtApeCliente.setText("");
		jTxtCodProd.setText("");
		jTxtNombProd.setText("");
		jTxtCant.setText("");
		
	}
	

}
